import { defHttp } from '/@/utils/http/axios';

enum Api {
  GetMenuList = '/user/queryPermission',
  // GetMenuList = '/getMenuList',
}

/**
 * @description: Get user menu based on id
 */

export const getMenuList = () => {
  return defHttp.post({ url: Api.GetMenuList});
};
